﻿#region COPYRIGHT© 2009-2013 Phillip Clark. All rights reserved.

// For licensing information see License.txt (MIT style licensing).

#endregion

using System;

namespace FlitBit.Json
{
	public sealed class JsonNull : JsonValue
	{
		public static readonly JsonNull Object = new JsonNull();
		public static readonly JsonNull Undefined = new JsonNull();

		public JsonNull()
			: base(JsonNodeKind.Null)
		{}

		public override TypeCode GetTypeCode()
		{
			return TypeCode.Empty;
		}

		public override string ToString()
		{
			return "null";
		}
	}
}